home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / game / patch / bbghd.lha / BodyBlowsGalacticAGA / Install-BBGalactic < prev    next >
Text File  |  1996-12-27  |  1KB  |  66 lines

  1. (set #CI_unit 0)
  2. (set #CI_drive ("DF%ld:" #CI_unit))
  3.  
  4.  
  5. ;----------------------------
  6.  
  7. (set @default-dest
  8. (askdir
  9.     (prompt ("Where should %s installed ?\nA drawer \"%s\" will automatically created." @app-name @app-name))
  10.     (help @askdir-help)
  11.     (default @default-dest)
  12.     (disk)
  13. )
  14. )
  15.  
  16. (set #dest (tackon @default-dest @app-name))
  17.  
  18.  
  19. (makedir #dest
  20.     (help @makedir-help)
  21.     (infos)
  22. )
  23.  
  24. ;----------------------------
  25.  
  26. (copyfiles
  27.     (help @copyfiles-help)
  28.     (source "BBGalactic")
  29.     (dest #dest)
  30. )
  31. (copyfiles
  32.     (help @copyfiles-help)
  33.     (source "BBGalactic.info")
  34.     (dest #dest)
  35. )
  36.  
  37. (copyfiles
  38.     (help @copyfiles-help)
  39.     (source "bbghd.readme.info")
  40.     (dest #dest)
  41. )
  42.  
  43. (copyfiles
  44.     (help @copyfiles-help)
  45.     (source "bbghd.readme")
  46.     (dest #dest)
  47. )
  48.  
  49. (message ("\nInsert %s disk 1 into drive %s !" @app-name #CI_drive))
  50.     (if
  51.         (= 0 (run ("rob2file %ld \"%s/BBGalactic.disk1\" 2 159 48162937 OFFSET >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
  52.         ("")
  53.         (abort "\"rob2file\" must be in your PATH !")
  54.     )
  55.  
  56. (message ("\nInsert %s disk 2 into drive %s !" @app-name #CI_drive))
  57.     (if
  58.         (= 0 (run ("rob2file %ld \"%s/BBGalactic.disk2\" 0 159 43532741 >con:///1000//CLOSE/WAIT" #CI_unit #dest )))
  59.         ("")
  60.         (abort "\"rob2file\" must be in your PATH !")
  61.     )
  62.  
  63.  
  64. (exit)
  65.  
  66.